package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Strategy;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface StrategyMongoRepository  extends MongoRepository<Strategy, Object>{
    /**
     * 通过caltalogId 获取对应攻略集合
     * @return
     */
    List<Strategy> findByCatalogId(String id);
}
